package service.custom.impl;

import java.util.List;

import dao.CompanypledgerDao;
import service.custom.CompanyPledgerService;

public class CompanyPledgerServiceImpl implements CompanyPledgerService{
	private CompanypledgerDao companypledgerDao;
	
	
	public CompanypledgerDao getCompanypledgerDao() {
		return companypledgerDao;
	}


	public void setCompanypledgerDao(CompanypledgerDao companypledgerDao) {
		this.companypledgerDao = companypledgerDao;
	}


	public List<?> getCompanyPledgerList(){
		System.out.println("inhereSP");
		String select="new vo.ListCompanyPledgerBean(companypledger.mortgagorfullname,companypledger.collateralname)";
		String hql = "Companypledger as companypledger";
		return companypledgerDao.findQuery(select,hql,10);
	}
	
	
	

}
